package com.spit.fammo.bean.db

import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.ColumnInfo

/**
 * User: Nike
 *  2025/1/6 15:29
 */
@Entity
data class StockTakeListBean(

    @PrimaryKey(autoGenerate = true) // 自增主键
    var uid: Int = 0,

    @ColumnInfo(name = "id")
    var id: String? = null,

    @ColumnInfo(name = "userId")
    var userId: String? = null,

    @ColumnInfo("companyid")
    var companyid: String ?= null,

    @ColumnInfo(name = "stocktakeno")
    var stocktakeno: String? = null,

    @ColumnInfo(name = "name")
    var name: String? = null,

    @ColumnInfo(name = "startDate")
    var startDate: String? = null,

    @ColumnInfo(name = "endDate")
    var endDate: String? = null,

    @ColumnInfo(name = "remarks")
    var remarks: String? = null,

    @ColumnInfo(name = "lastUpdate")
    var lastUpdate: String? = null, // 允许为空

    @ColumnInfo(name = "total")
    var total: Int = 0,

    @ColumnInfo(name = "status")
    var status: Int = 0,

    @ColumnInfo(name = "progress")
    var progress: Int = 0
)